package spindles.gwt.shared;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;

public interface SpindlesManager extends RemoteService {
	/**
	 * @gwt.typeArgs <spindles.gwt.shared.PersonDTO>
	 */
	List getPersons();	
	
	/**
	 * @gwt.typeArgs <spindles.gwt.shared.SleepDTO>
	 */
	List getSleeps(long personID);
	
	/**
	 * @gwt.typeArgs <spindles.gwt.shared.EpochDTO>
	 */
	List getEpochs(long sleepPartID);	
	
	String getExportURL(String level, long id, boolean soft);
	
	public String getExportPath(int type, long personID, boolean soft) throws GWTException;
	
	public String getExportURL(long epochID, SpindleDTO dto, int position);

}
